@import '../assets/import.less';
.co-switch {
  position: relative;
  width: 84px;
  height: 40px;
  display: inline-block;
}

.co-switch-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: @borderColor;
  border-radius: 20px;
}

.co-switch-thumb {
  position: absolute;
  top: 2px;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  background-color: @alternateTextColor;
  transition: all .45s @easeOutFunction;
  transform: translate3d(0, 0, 0);
  .co-switch--open & {
    transform: translate3d(48px, 0, 0);
    background-color: @primaryColor;
  }
}
